<template>
  <div class="register">
    <div class="reg-box">
      <h3>iHRM后台登录系统</h3>

      <el-form ref="form" label-width="0px" class="login-form">

        <el-form-item>
          <el-input prefix-icon="el-icon-mobile-phone" placeholder="11位手机号"> </el-input>
        </el-form-item>

        <el-form-item>
          <el-input
            prefix-icon="el-icon-key"
            type="text"
            placeholder="输入验证码"
          >
            <template slot="suffix">
              <el-button round type="primary" plain size="small">获取验证码</el-button>
            </template>
          </el-input>
        </el-form-item>

        <el-form-item>
          <el-input prefix-icon="el-icon-lock" placeholder="6~16位密码"> </el-input>
        </el-form-item>

        <el-form-item>
          <el-input prefix-icon="el-icon-lock" placeholder="确认密码"> </el-input>
        </el-form-item>

        <el-form-item>
          <el-button type="primary" class="loginBtn">下一步</el-button>
        </el-form-item>

      </el-form>

      <a href="javascript:;" @click="toLink">使用已有账户登录</a>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {

    }
  },
  methods: {
    toLink() {
      this.$router.push('./reg')
    }
  }
}
</script>

<style scoped lang="less">
@import url('./register.less');
</style>